﻿Public Class CRMNegoc
    Implements ICRMNegoc

#Region "Classes Injetadas"

    Private _clienteDao As IClienteDao
    Public Property ClienteDao() As IClienteDao
        Get
            Return _clienteDao
        End Get
        Set(ByVal value As IClienteDao)
            _clienteDao = value
        End Set
    End Property

#End Region

    Public Function BuscarClientePorEvento(ByVal _setor As SetorNegocio, ByVal _evento As Evento) As Cliente Implements ICRMNegoc.BuscarClientePorEvento
        Throw New NotImplementedException
    End Function

    Public Function BuscarClientePorId(ByVal _setor As SetorNegocio) As Cliente Implements ICRMNegoc.BuscarClientePorId
        Throw New NotImplementedException
    End Function

    Public Function BuscarClientesPorNomeLike(ByVal _setor As SetorNegocio, ByVal _nomeLike As String) As IList(Of Cliente) Implements ICRMNegoc.BuscarClientesPorNomeLike
        Return Me.ClienteDao.BuscarTodos()
    End Function

    Public Function BuscarSetoresNegocio() As IList(Of SetorNegocio) Implements ICRMNegoc.BuscarSetoresNegocio
        Throw New NotImplementedException
    End Function

    Public Function BuscarTiposTelefone() As IList(Of TipoTelefone) Implements ICRMNegoc.BuscarTiposTelefone
        Throw New NotImplementedException
    End Function

    Public Function BuscarUsuarioPorLogin(ByVal _login As String) As Usuario Implements ICRMNegoc.BuscarUsuarioPorLogin
        Throw New NotImplementedException
    End Function

    Public Function CadastrarCliente(ByVal _usuario As Usuario, ByVal _nome As String, Optional ByVal _setorProprietario As SetorNegocio = Nothing) As Object Implements ICRMNegoc.CadastrarCliente
        Throw New NotImplementedException
    End Function

    Public Function CadastrarTelefone(ByVal _usuario As Usuario, ByVal _cliente As Cliente, ByVal _ddd As String, ByVal _tipo As TipoTelefone, ByVal _telefone As String) As Object Implements ICRMNegoc.CadastrarTelefone
        Throw New NotImplementedException
    End Function
End Class
